package com.crm.service.impl;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.crm.model.BizActivity;
import com.crm.service.BizActivityService;
import com.crm.util.UUIDUtil;

@Service
public class BizActivityServiceImpl extends BaseServiceImpl<BizActivity> implements BizActivityService{
	@Override
	@Transactional
	public int insert(BizActivity record) {
		String uuid = UUIDUtil.getUUID();
		record.setActivityId(uuid);
		return super.insert(record);
	}
	
}
